/**
 * @description: 加工工艺
 */

import requestMD5 from "@/utils/requestMd5";

export function formula_index(params) {
  return requestMD5({
    url: "/formula/index",
    method: "get",
    params
  });
}

export function formula_info(params) {
  return requestMD5({
    url: "/formula/info",
    method: "get",
    params
  });
}

export function formula_add(data) {
  return requestMD5({
    url: "/formula/add",
    method: "post",
    data: data
  });
}

export function formula_edit(data) {
  return requestMD5({
    url: "/formula/edit",
    method: "post",
    data: data
  });
}

export function formula_delete(data) {
  return requestMD5({
    url: "/formula/delete",
    method: "post",
    data: data
  });
}
